package com.stxx.stiot2.config;


import lombok.Data;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;

@Data
@Configuration
@Inject("${redis}")
public class RedisConfig {
    private String host;
    private Integer port;
    private Integer database;
    private String user;
    private String password;
    private Integer timeout;
    private Integer maxConnections;
    private Integer maxIdle;
    private Integer minIdle;
    private Long maxWaitMillis;
}
